package cn.com.open.itembank.dto;

import cn.com.open.itembank.common.BaseModel;

/**
 * Created by lucky on 2018/3/8.
 */

/**
 * 返回模型for试卷 DTO
 */
public class ReturnModelForTestPaper extends BaseModel {
    public ReturnModelForTestPaper() {
        code = 0;
        message = "";
        data = new TestPaperModel();
    }

    /**
     * 返回码
     */
    private Integer code;

    /**
     * 返回信息
     */
    private String message;

    /**
     * 返回数据
     */
    private TestPaperModel data;

    /**
     * Gets code.
     *
     * @return the code
     */
    public Integer getCode() {
        return code;
    }

    /**
     * Sets code.
     *
     * @param code the code
     */
    public void setCode(Integer code) {
        this.code = code;
    }

    /**
     * Gets message.
     *
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * Sets message.
     *
     * @param message the message
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * Gets data.
     *
     * @return the data
     */
    public TestPaperModel getData() {
        return data;
    }

    /**
     * Sets data.
     *
     * @param data the data
     */
    public void setData(TestPaperModel data) {
        this.data = data;
    }
}
